package com.zhoujing.cinema.front.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ：ywj
 * @date ：Created in 2020/3/6 22:24
 * @description：跳转的controller
 * @modified By：
 * @version: $
 */
@Controller
@RequestMapping("/front/index")
public class IndexController {
    @RequestMapping("login")
    public String goLogin(){
        return "login";
    }
    @RequestMapping("/home")
    public String goHome(){
        return "home";
    }
    @RequestMapping("/movieDetail")
    public String goMovieDetail(){
        return "movieDetail";
    }
    @RequestMapping("/order")
    public String goOrder(){
        return "order";
    }
}
